home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / samba.idb / usr / samba / lib / smb.conf.z / smb.conf
Encoding:
Text File  |  1998-10-28  |  4.2 KB  |  123 lines

  1. ; Configuration file for smbd.
  2. ; ============================================================================
  3. ; For the format of this file and comprehensive descriptions of all the
  4. ; configuration option, please refer to the man page for smb.conf(5).
  5.  
  6. ; This is a sample configuration for IRIX 6.x systems
  7. ;
  8. ; The following configuration should suit most systems for basic usage and 
  9. ; initial testing. It gives all clients access to their home directories and
  10. ; /usr/tmp and allows access to all printers returned by lpstat.
  11. ;
  12. [global]
  13.    comment = Samba %v
  14.    workgroup = workgroup
  15.    printing = sysv
  16. ;
  17. ; The default for printcap name is lpstat which will export all printers.
  18. ; If you want to limit the printers that are visible to clients, you can
  19. ; use a printcap file. The script mkprintcap.sh will create a printcap
  20. ; file that contains all your printers. Edit this file to only contain the
  21. ; printers that you wish to be visible. Names longer than 15 characters
  22. ; in the printcap file will not be visible to clients.
  23. ;
  24. ;   printcap name = /usr/samba/printcap
  25. ;
  26. ; If you are using Impressario 1.x then you'll want to use the
  27. ; sambalp script provided with this package.  It works around
  28. ; a problem in the PostScript generated by the standard Windows
  29. ; drivers--there is a check to verify sufficient virtual memory
  30. ; is available in the printer to print the job, but this fails
  31. ; under Impressario because of a bug in Impressario 1.x.  The sambalp
  32. ; script strips out the vmstatus check.  BTW, when using this
  33. ; setup to print be sure to configure a Windows printer driver
  34. ; that generates PostScript--QMS-PS 810 is one that should work
  35. ; with the sambalp script. This version of sambalp (if installed
  36. ; as a setuid script - see the comments at the beginning of the
  37. ; script) will setuid to the username if valid on the system. This
  38. ; makes the banner pages print the proper username. You can disable
  39. ; the PostScript fixes by changing a variable in sambalp.
  40. ;
  41.    print command = /usr/samba/bin/sambalp %p %s %U %m
  42. ;   print command = /usr/bin/lp -c -d%p -t"%U on machine %m" %s ; rm %s
  43.  
  44.    load printers = yes
  45.    guest account = nobody
  46.    browseable = yes
  47.  
  48. ; this tells Samba to use a separate log file for each machine
  49. ; that connects - default is single file named /usr/samba/var/log.smb
  50. ;   log file = /usr/samba/var/log.%m
  51.  
  52. ;  Set a max size for log files in Kb
  53.    max log size = 50
  54.  
  55. ;  You will need a world readable lock directory and "share modes=yes"
  56. ;  if you want to support the file sharing modes for multiple users
  57. ;  of the same files
  58.    locking = yes
  59.    lock directory = /usr/samba/var/locks
  60.    share modes = yes
  61.  
  62. ;   security = user
  63.  
  64. ;  You need to test to see if this makes a difference on your system
  65.    socket options = TCP_NODELAY
  66.  
  67. ;  Set the os level to > 32 if there is no NT server for your workgroup
  68.    os level = 0
  69.    preferred master = no
  70.    domain master = no
  71.    local master = no
  72.    wins support = no
  73.    wins server = 
  74.  
  75.    preserve case = yes
  76.    short preserve case = yes
  77.  
  78. [homes]
  79.    comment = Home Directories
  80.    browseable = no
  81.    writable = yes
  82.  
  83. ; To allow Win95 clients to automatically load printer drivers, uncomment
  84. ; the following section (and the lines in the printers section below).
  85. ; Run the make_printerdef command to create the /usr/samba/lib/printers.def
  86. ; file (see the PRINTER_DRIVER.txt file in the docs directory for info).
  87. ; Copy all the required files to the /usr/samba/printer directory
  88. ;
  89. ;[printer$]
  90. ;   comment = printer driver directory
  91. ;   path=/usr/samba/printer
  92. ;   public=yes
  93. ;   writable=no
  94. ;   browseable=yes
  95.  
  96. [printers]
  97.    comment = All Printers
  98.    path = /usr/tmp
  99.    browseable = no
  100.    printable = yes
  101.    public = yes
  102.    writable = no
  103.    create mask = 0700
  104. ;
  105. ; this specifies the location of the share containing the printer driver
  106. ; files - see the printer$ section above
  107. ;
  108. ;   printer driver location = \\%h\printer$
  109. ;
  110. ; the following line will make all printers default to the QMS-PS 810 Turbo
  111. ; driver - which works quite well for Impressario. If you need a diferent
  112. ; driver for a specific printer, create a section for that printer and
  113. ; specify the correct printer driver.
  114. ;
  115. ;   printer driver = QMS-PS 810 Turbo
  116.  
  117.  
  118. [tmp]
  119.   comment = Temporary file space
  120.   path = /usr/tmp
  121.   read only = no
  122.   public = yes
  123.